projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e368c20
)
SECURE_BOOT: Correct reading of ITS bit
author
Aneesh Bansal
<
[email protected]
>
Mon, 12 Oct 2015 16:35:50 +0000
(22:05 +0530)
committer
York Sun
<
[email protected]
>
Fri, 30 Oct 2015 16:19:47 +0000
(09:19 -0700)
The ITS bit was being read incorrectly beacause of operator
precedence. The same ahs been corrected.
Signed-off-by: Lawish Deshmukh <
[email protected]
>
Signed-off-by: Aneesh Bansal <
[email protected]
>
Reviewed-by: York Sun <
[email protected]
>
board/freescale/common/fsl_validate.c
patch
|
blob
|
history
diff --git
a/board/freescale/common/fsl_validate.c
b/board/freescale/common/fsl_validate.c
index 465676f07a1a3736ba9cc0797f368687afcdab79..73b6718db9c869b42970de161424210f12f10f07 100644
(file)
--- a/
board/freescale/common/fsl_validate.c
+++ b/
board/freescale/common/fsl_validate.c
@@
-246,7
+246,7
@@
static void fsl_secboot_image_verification_failure(void)
struct ccsr_sfp_regs *sfp_regs = (void *)(CONFIG_SYS_SFP_ADDR);
u32 sts = sec_mon_in32(&sec_mon_regs->hp_stat);
- u32 its =
sfp_in32(&sfp_regs->ospr) & ITS_MASK
>> ITS_BIT;
+ u32 its =
(sfp_in32(&sfp_regs->ospr) & ITS_MASK)
>> ITS_BIT;
/*
* Read the SEC_MON status register